﻿using LJX.SmartPark.Common.ResponseOutput;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static LJX.SmartPark.Service.IotInfo.LightingInfo.LightingInfoServeice;
using static LJX.SmartPark.Service.SafeManage.Record.RecordServeice;
using DB = LJX.SmartPark.Domain.SafeManage.Record;

namespace LJX.SmartPark.Service.SafeManage.Record
{
    public interface IRecordServeice: ITransientService
    {
        Task<Response<List<DB.Record>>> GetRecordAsync(FyRecord fyRecord);

        Response<DB.Record> GetRecordById(DB.Record input);

        int GetCount();
        Task<Response<bool>> PostAddRecordAsync(DB.Record input);
        Task<Response<bool>> DeleteRecordAsync(DB.Record input);
        Task<Response<bool>> PutUpdRecordAsync(DB.Record input);
    }
}
